<template>
    <p v-if="show">{{message}}</p>
</template>

<script>
    export default {
        props: {
            show: {
                type: Boolean,
                default: false
            },
            message: {
                type: String,
                default: 'haha'
            }
        }
        ,
        data (){
            return {
                flag: false
            }
        }
    }
</script>

<style>
    
</style>